#include "ros/ros.h"
#include <iostream>
#include <stdio.h>
#include <string>
#include "imu_reading/read_imu.h"

int main(int argc, char *argv[]) {
  ros::init(argc, argv, "imu_read_test");
  ros::NodeHandle nh;

  imu_serial::read_imu imu_reading;
  imu_reading.connect(nh);

  ros::Rate loop_rate(10);
  while (ros::ok()) {

    ros::spinOnce();
    loop_rate.sleep();
  }
  return 0;
}